body {
    font-family: "宋体", sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
}

header {
    font-family: "黑体";
}

/*导航栏表格设计*/
.headerTable {
    width: 100%;
    background-color: #333;
    color: #fff;
}

.headerTable td {
    padding: 10px;
}

.menuTd {
    width: 100px;
    text-align: center;
    position: relative;
}

.menuTitle {
    padding: 5px 15px;
    cursor: pointer;
    border-style: solid;
    background-color: #008cba;
    border-color: white;
    border-radius: 8px;
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    position: absolute;
    z-index: 1;
    width: 100px;
    border-style: solid;
    border-color: white;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px); /* 初始位置稍微向上 */
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* 过渡动画 */
}

.submenu li {
    padding: 10px;
    cursor: pointer;
    text-align: center;
    background-color: #008cba;
}

.submenu li:hover {
    background-color: #0bb8b8;
    transition: background-color 0.3s ease;
}

.menuTd:hover .submenu {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0); /* 移到初始位置 */
}

.logo {
    height: 100px;
    width: 100px;
    display: inline;
    cursor: pointer;
}

h1 {
    display: inline;
    cursor: pointer;
}

form {
    display: inline;
}

input[type="search"] {
    width: 80%;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="image"] {
    width: 25px;
    height: auto;
    vertical-align: middle;
}
.uploadButton {
    background-color: #008cba;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.uploadButton:hover {
    background-color: #0bb8b8;
}
.carousel {
    float: left;
    margin-left: 5%;
    text-align: center;
    width: 500px;
    /* 调整轮播图的宽度 */
    height: 300px;
    /* 设置轮播图容器的高度 */
    cursor: pointer;
}

/*轮播图箭头颜色*/
.slick-prev:before,
.slick-next:before {
    color: #008cba;
}

.carousel img {
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* 轮播图的按钮设计 */
.carousel .custom-dots {
    position: absolute;
    bottom: -20%;
    /* 调整圆点距离底部的距离 */
    left: 0;
    right: 0;
    text-align: center;
}

.carousel .custom-dots li {
    display: inline-block;
    margin: 0 5px;
}

.carousel .custom-dots button {
    background: transparent;
    border: 1px solid #008cba;
    border-radius: 25%;
    cursor: pointer;
    display: block;
    height: 30px;
    width: 50px;
    padding: 0;
    outline: none;
}

.carousel .custom-dots button:hover,
.carousel .custom-dots button:focus {
    background: #008cba;
}

.carousel .custom-dots .slick-active button {
    background: #008cba;
}

/*右边视频列表的设计*/
.video-listRight {
    margin-top: 1%;
    margin-left: 5%;
    float: right;
}

.video-listRight table {
    width: 100%;
    border-spacing: 20px;
}

.video-listRight td {
    padding: 10px;
    text-align: center;
}

.video-listRight img {
    width: 250px;
    height: auto;
    cursor: pointer;
    border-radius: 7px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-listRight img:hover {
    transform: translateY(-10%);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

/*下方视频列表的设计*/
.video-listBottom {
    margin-top: 1%;
}

.video-listBottom table {
    width: 100%;
}

.video-listBottom td {
    padding: 50px;
    text-align: center;
}

.video-listBottom img {
    width: 350px;
    height: 196.97px;
    cursor: pointer;
    border-radius: 7px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-listBottom img:hover {
    transform: translateY(-10%);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.video-listRight a,
.video-listBottom a {
    text-decoration: none;
    color: black;
}
